<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php $this->load->view('partials/metadata.php')?>
</head>
<body> 
<!-- Start: page-top-outer -->
<div id="page-top-outer">    

<!-- Start: page-top -->
<div id="page-top">

	<!-- start logo -->
	<div id="logo">
	<a href="<?php echo site_url()?>"><img src="<?php echo image_url('admin/shared/logo.png')?>" width="156" height="40" alt="" /></a>
	</div>
	<!-- end logo -->
	
	<div id="top-info">
		<table border="0" cellpadding="0" cellspacing="0">
		<tr>
		<td><a href="<?php echo site_url('admin/users/edit/'. $logined_user->id)?>"><span><?php echo $logined_user->username?></span></a></td>
		<td>
		&nbsp;|&nbsp;
		</td>
		<td>
		<a href="<?php echo site_url('admin/logout')?>"><span><?php echo lang('logout_label')?></span></a>
		</td>
		</tr>
		</table>
	</div>
	<!--  start top-search -->
	<div id="top-search" style="display:none;">
		<table border="0" cellpadding="0" cellspacing="0">
		<tr>
		<td><input type="text" value="Search" onblur="if (this.value=='') { this.value='Search'; }" onfocus="if (this.value=='Search') { this.value=''; }" class="top-search-inp" /></td>
		<td>
		<select  class="select_box">
			<option value=""> All</option>
			<option value=""> Products</option>
			<option value=""> Categories</option>
			<option value="">Clients</option>
			<option value="">News</option>
		</select> 
		</td>
		<td>
		<input type="image" src="<?php echo image_url('admin/shared/top_search_btn.gif')?>"  />
		</td>
		</tr>
		</table>
	</div>
 	<!--  end top-search -->
 	<div class="clear"></div>

</div>
<!-- End: page-top -->

</div>
<!-- End: page-top-outer -->
<!--  start nav-outer-repeat................................................................................................. START -->
<?php $this->load->view('partials/topmenu.php')?>
<!--  start nav-outer -->
</div>
<!--  start nav-outer-repeat................................................... END -->

  <div class="clear"></div>
 
<!-- start content-outer ........................................................................................................................START -->
<div id="content-outer">
<!-- start content -->
<div id="content">

	<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
	<tr>
		<th rowspan="3" class="sized"><img src="<?php echo image_url('admin/shared/side_shadowleft.jpg')?>" width="20" height="300" alt="" /></th>
		<th class="topleft"></th>
		<td id="tbl-border-top">&nbsp;</td>
		<th class="topright"></th>
		<th rowspan="3" class="sized"><img src="<?php echo image_url('admin/shared/side_shadowright.jpg')?>" width="20" height="300" alt="" /></th>
	</tr>
	<tr>
		<td id="tbl-border-left"></td>
		<td>
		<!--  start content-table-inner ...................................................................... START -->
		
		<div id="content-table-inner">
		
			<!--  start table-content  -->
			<div id="table-content">
			<?php $this->load->view($page); ?>
			</div>
			<!--  end table-content  -->
	
			<div class="clear"></div>
		 
		</div>
		<!--  end content-table-inner ............................................END  -->
		</td>
		<td id="tbl-border-right"></td>
	</tr>
	<tr>
		<th class="sized bottomleft"></th>
		<td id="tbl-border-bottom">&nbsp;</td>
		<th class="sized bottomright"></th>
	</tr>
	</table>
	<div class="clear">&nbsp;</div>

</div>
<!--  end content -->
<div class="clear">&nbsp;</div>
</div>
<!--  end content-outer........................................................END -->

<div class="clear">&nbsp;</div>
    
<!-- start footer -->         
<div id="footer">
	<?php $this->load->view('partials/footer.php') ?>
</div>
	<?php $this->load->view('partials/float.php') ?>
<!-- end footer -->
 
</body>
</html>